package 多线程.FileSearch;

public class Result {
    private String path; //搜索到的文件位置
    private boolean found=false; //是否搜索到

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public boolean isFound() {
        return found;
    }

    public void setFound(boolean found) {
        this.found = found;
    }

    @Override
    public String toString() {
        return "Result{" +
                "path='" + path + '\'' +
                ", found=" + found +
                '}';
    }
}
